package com.hurt.competition.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hurt.competition.admin.dto.NoticeReq;
import com.hurt.competition.admin.model.Notice;
import com.hurt.competition.common.vo.PageResult;

public interface NoticeService extends IService<Notice> {
    /**
     * 查询通知列表
     * @param req
     * @return
     */
    PageResult<Notice> queryList(NoticeReq req);

    /**
     * 查询通知详情
     * @param req
     * @return
     */
    Notice queryInfo(NoticeReq req);
}
